// 用户管理api
module.exports = app => {
  const { router, controller, middleware} = app;
  router.use(middleware.checktoken())
  //分页查询
  router.get('/api/getUser', controller.user.getUser);
  //模糊查询
  router.get('/api/getVague', controller.user.getVague);
  //添加用户获取项目、角色、班级列表
  router.get('/api/gitCreateUser', controller.user.gitCreateUser);
  router.get('/api/gitCreateClass', controller.user.gitCreateClass);
  //添加用户
  router.post('/api/createUser', controller.user.createUser);
};
